package com.tan.chowder.login.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tan.chowder.login.entity.SysRoleDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author chenx
 */
@Mapper
public interface SysRoleMapper  extends BaseMapper<SysRoleDO> {

    /**
     * todo
     *根据用户编号查询
     */
    List<SysRoleDO> findByUid(Integer uid);
}